<style>
    table.tableizer-table {
        margin-left: 80px;
    }
    input#edit-submit {
        margin-left: 20%;
        margin-top: 10px;
    }
</style>
<div class="hp-tab-newprd">
    <ul class="j-sw-nav">
        <li class="newprd-s1 tab-li"><a href="<?php echo base_path().str_replace(arg(1) == 'edit'?'edit':'add','list',current_path());?>">查看</a></li>
        <?php if(user_access('add document_instance')){?>
        <li class="newprd-s2 tab-li <?php if(arg(1) != 'edit'){?>on<?php }?>"><a href="<?php echo base_path().str_replace( arg(1) == 'edit'?'edit':'list','add',current_path());?>">添加</a></li>
        <?php }
        if(arg(1) == 'edit' && !empty(arg(2))){?>
            <li class="newprd-s3 tab-li on"><a href="javascript:void(0)">修改</a></li>
        <?php }?>
    </ul>
    <div class="table-div">

        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label"><span class="required">*</span>录入者:</div><?php print render($form['inputer']); ?></div>
        </div>
        <div style="clear: both"></div>
        <?php  print _address_render_for_add($form)?>
        <?php print drupal_render_children($form); ?>
    </div>
</div>